package a27_GenericityUse.ComprehensivePra;

/**
 * @Author quan
 * @Description 泰迪狗
 * @Date 2023/2/19 21:52
 */
public class TeddyDog extends Dog{
    @Override
    public void eat() {
        System.out.println("一直叫做"+getName()+"的"+getAge()+"岁的泰迪狗正在啃骨头");
    }
}
